package com.tms.goodsmanagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 货物管理对象 goodsmanagement
 *
 * @author ruoyi
 * @date 2024-10-29
 */
public class Goodsmanagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 货物名称 */
    @Excel(name = "货物名称")
    private String goodsName;

    /** 长 */
    @Excel(name = "长")
    private String length;

    /** 宽 */
    @Excel(name = "宽")
    private String width;

    /** 高 */
    @Excel(name = "高")
    private String height;

    /** 体积 */
    @Excel(name = "体积")
    private String volume;

    /** 重量 */
    @Excel(name = "重量")
    private String weight;

    /** 价值 */
    @Excel(name = "价值")
    private String value;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String unitStatus;

    private Integer status;

    /** 备注信息 */
    private String remarks;

    /** 日期 */
    private Date time;
    public void setStatus(Integer status){
        this.status = status;
    }
    public Integer getStatus(){return status;}

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setGoodsName(String goodsName)
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName()
    {
        return goodsName;
    }
    public void setLength(String length)
    {
        this.length = length;
    }

    public String getLength()
    {
        return length;
    }
    public void setWidth(String width)
    {
        this.width = width;
    }

    public String getWidth()
    {
        return width;
    }
    public void setHeight(String height)
    {
        this.height = height;
    }

    public String getHeight()
    {
        return height;
    }
    public void setVolume(String volume)
    {
        this.volume = volume;
    }

    public String getVolume()
    {
        return volume;
    }
    public void setWeight(String weight)
    {
        this.weight = weight;
    }

    public String getWeight()
    {
        return weight;
    }
    public void setValue(String value)
    {
        this.value = value;
    }

    public String getValue()
    {
        return value;
    }
    public void setUnitStatus(String unitStatus)
    {
        this.unitStatus = unitStatus;
    }

    public String getUnitStatus()
    {
        return unitStatus;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsName", getGoodsName())
            .append("length", getLength())
            .append("width", getWidth())
            .append("height", getHeight())
            .append("volume", getVolume())
            .append("weight", getWeight())
            .append("value", getValue())
            .append("unitStatus", getUnitStatus())
            .append("remarks", getRemarks())
            .append("time", getTime())
            .append("status", getStatus())
            .toString();
    }
}
